import request from '@/utils/request'

// 查询球场场地详情列表
export function listStadiumDetail(query) {
  return request({
    url: '/football/stadiumDetail/list',
    method: 'get',
    params: query
  })
}

// 查询球场场地详情详细
export function getStadiumDetail(id) {
  return request({
    url: '/football/stadiumDetail/' + id,
    method: 'get'
  })
}

// 新增球场场地详情
export function addStadiumDetail(data) {
  return request({
    url: '/football/stadiumDetail',
    method: 'post',
    data: data
  })
}

// 修改球场场地详情
export function updateStadiumDetail(data) {
  return request({
    url: '/football/stadiumDetail',
    method: 'put',
    data: data
  })
}

// 删除球场场地详情
export function delStadiumDetail(id) {
  return request({
    url: '/football/stadiumDetail/' + id,
    method: 'delete'
  })
}
